package com.salton123.colorflydemo;

import android.app.Application;

import com.salton123.app.BaseApplication;
import com.salton123.bmob.BmobInitialier;
import com.salton123.log.XLog;
import com.salton123.log.XLogConfig;

/**
 * User: newSalton@outlook.com
 * Date: 2019/5/23 15:40
 * ModifyTime: 15:40
 * Description:
 */
public class XApp extends BaseApplication {
    @Override
    public void onCreate() {
        super.onCreate();
    }

    @Override
    public void highPriority() {
        super.highPriority();
        BmobInitialier.INSTANCE.init(this);
    }

    @Override
    public void lowPriority() {
        super.lowPriority();
        XLog.config(new XLogConfig()
                .setDebugable(true)
                .setWhetherToSaveLog(true));
    }
}
